package com.neuedu.inner;

public class MyThread  extends  Thread{

    @Override
    public void run() {
        while (true){
            System.out.println(System.currentTimeMillis());
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    }


    public static void main(String[] args) {
        new MyThread().start();
    }
}
